home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadwin / support / ddunits.dcl < prev    next >
Encoding:
Text File  |  1995-02-08  |  7.9 KB  |  271 lines

  1. // Next available MSG number is    51 
  2. // MODULE_ID DDUNITS_DCL_
  3. /* Next available MSG number is  60 */
  4.  
  5. //-------------------------------------------------------------------------
  6. //
  7. //     ddunits.dcl
  8. //
  9. //     Copyright (C) 1992, 1994 by Autodesk, Inc.
  10. //
  11. //     Permission to use, copy, modify, and distribute this software
  12. //     for any purpose and without fee is hereby granted, provided
  13. //     that the above copyright notice appears in all copies and
  14. //     that both that copyright notice and the limited warranty and
  15. //     restricted rights notice below appear in all supporting
  16. //     documentation.
  17. //
  18. //     AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
  19. //     AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
  20. //     MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  21. //     DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
  22. //     UNINTERRUPTED OR ERROR FREE.
  23. //
  24. //     Use, duplication, or disclosure by the U.S. Government is subject to
  25. //     restrictions set forth in FAR 52.227-19 (Commercial Computer
  26. //     Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
  27. //     (Rights in Technical Data and Computer Software), as applicable.
  28. //
  29. //.
  30. //    
  31. //-------------------------------------------------------------------------
  32. // DESCRIPTION:
  33. // Dialogue definition file for DDUNITS.LSP - Units command. 
  34. //-------------------------------------------------------------------------
  35.  
  36. //dcl_settings : default_dcl_settings { audit_level = 3; }
  37.  
  38. ddunits : dialog {
  39.     label = "Control de unidades";
  40.     //
  41.     // Horizontal cluster that contains the Units and Angles clusters.
  42.     //
  43.     : row {
  44.         //
  45.         // Units cluster.
  46.         //
  47.         : boxed_column {
  48.             label = "Unidades";
  49.             //
  50.             // Radio cluster for the units format selection.
  51.             //
  52.             : radio_column {
  53.                 : radio_button {
  54.                     key = "scientific";
  55.                     label = "Cientφficas";
  56.                     mnemonic = "C";
  57.                 }
  58.                 : radio_button {
  59.                     key = "decimal";
  60.                     label = "Decimales";
  61.                     mnemonic = "l";
  62.                 }
  63.                 : radio_button {
  64.                     key = "engineering";
  65.                     label = "Pies/PI";
  66.                     mnemonic = "e";
  67.                 }
  68.                 : radio_button {
  69.                     key = "architectural";
  70.                     label = "Pies/PII";
  71.                     mnemonic = "I";
  72.                 }
  73.                 : radio_button {
  74.                     key = "fractional";
  75.                     label = "Fraccionarias";
  76.                     mnemonic = "F";
  77.                 }
  78.             }
  79.             //
  80.             // Linear Units Precision popup_list (System variable LUPREC).
  81.             //
  82.             spacer;
  83.             : text {
  84.                 label = "Precisi≤n:";
  85.                 mnemonic = "P";
  86.             }
  87.             : popup_list {
  88.                 key = "luprec";
  89.                 edit_width = 14;
  90.             }
  91.         }
  92.         //
  93.         // Angle Formats Control.
  94.         //
  95.         : boxed_column {
  96.             label = "Angulos";
  97.             //
  98.             // Radio cluster for the angle format selection.
  99.             //
  100.             : radio_column {
  101.                 : radio_button {
  102.                   key = "decimal_deg";
  103.                   label = "Grados decimales";
  104.                   mnemonic = "o";
  105.                 }
  106.                 : radio_button {
  107.                     key = "dms";
  108.                     label = "Grados/min/seg";
  109.                     mnemonic = "m";
  110.                 }
  111.                 : radio_button {
  112.                     key = "grads";
  113.                     label = "Grados";
  114.                     mnemonic = "G";
  115.                 }
  116.                 : radio_button {
  117.                     key = "radians";
  118.                     label = "Radianes";
  119.                     mnemonic = "R";
  120.                 }
  121.                 : radio_button {
  122.                     key = "surveyor_deg";
  123.                     label = "GeodΘsicas";
  124.                     mnemonic = "s";
  125.                 }
  126.             }
  127.             //
  128.             // Angle Precision popup_list (system variable AUPREC).
  129.             //
  130.             spacer_0;
  131.             : text {
  132.                 label = "Precisi≤n:";
  133.                 mnemonic = "n";
  134.             }    
  135.             : popup_list {
  136.                 key = "auprec";
  137.                 edit_width = 17;
  138.             }
  139.         }
  140.     }
  141.     //
  142.     // Row of buttons at bottom: OK Cancel Direction... Help...
  143.     //
  144.     : row {
  145.         ok_button;
  146.         cancel_button;
  147.         : button {
  148.              label = "Direcci≤n...";
  149.              key = "dir";
  150.              mnemonic = "D";
  151.              fixed_width = true;
  152.         }
  153.         help_button;
  154.     }
  155. }
  156. //
  157. // Direction child dialog.
  158. //
  159. direction : dialog {
  160.     label = "Control de direcci≤n";
  161.     : boxed_column {
  162.         label = "Direcci≤n ßngulo 0";
  163.         fixed_width = true;
  164.         width =22;
  165.         //
  166.         // Direction sub-cluster to group the radio cluster and the
  167.         // pick button/edit box cluster.
  168.         //
  169.         :row {
  170.             //
  171.             // Radio cluster for the direction selection.
  172.             //
  173.             : radio_column {
  174.                 : radio_button {
  175.                     key = "east";
  176.                     label = "Este";
  177.                     mnemonic = "E";
  178.                 }
  179.                 : radio_button {
  180.                     key = "north";
  181.                     label = "Norte";
  182.                     mnemonic = "N";
  183.                 }
  184.                 : radio_button {
  185.                     key = "west";
  186.                     label = "Oeste";
  187.                     mnemonic = "O";
  188.                 }
  189.                 : radio_button {
  190.                     key = "south";
  191.                     label = "Sur";
  192.                     mnemonic = "S";
  193.                 }
  194.                 : radio_button {
  195.                     key = "other";
  196.                     label = "Otro";
  197.                     mnemonic = "t";
  198.                 }
  199.             }
  200.             //
  201.             // Angle direction format labels appears to the right
  202.             // of the radio cluster, a "pick" button next to "other"
  203.             //
  204.             : column {
  205.                 : text {
  206.                     key = "zero";
  207.                     label = "";
  208.                     width = 9;
  209.                 }
  210.                 : text {
  211.                     key = "ninety";
  212.                     label = "";
  213.                 }
  214.                 : text {
  215.                     key = "one_eighty";
  216.                     label = "";
  217.                 }
  218.                 : text {
  219.                     key = "two_seventy";
  220.                     label = "";
  221.                 }
  222.                 : text {
  223.                     key = "typed";
  224.                     label = "Designar/Tipo";
  225.                 }
  226.             }
  227.         }
  228.         //
  229.         // Manual angle selection and direction selection.
  230.         //
  231.         //
  232.         // Angle edit box.
  233.         //
  234.         : edit_box {
  235.             key = "angle_edit";
  236.             edit_width = 14;
  237.             label = "Angulo:";
  238.             mnemonic = "A";
  239.         }
  240.         : button{
  241.             label = "Designar <";
  242.             key = "angle_pick";
  243.             fixed_width = true;
  244.             width = 8;
  245.             alignment = left;
  246.             mnemonic = "D";
  247.         }
  248.     }
  249.     //
  250.     // Angle direction radio cluster.
  251.     //
  252.     : radio_column {
  253.         : radio_button {
  254.             key = "angle_dir_ccw";
  255.             label = "Sentido antihorario";
  256.             mnemonic = "i";
  257.         }
  258.         : radio_button {
  259.             key = "angle_dir_cw";
  260.             label = "Sentido horario";
  261.             mnemonic = "h";
  262.         }
  263.     }
  264.     ok_cancel;
  265.     : errtile {
  266.         width = 22;
  267.     }
  268. }
  269. // End Direction child dialog.
  270.  
  271.